gxDotTypeIsDitherLevel EQU $00000002 ; Call SetViewPortDither using the dotType as the level
gxOffscreenSetupRec RECORD 0
width ds.w 1 ; offset: $0 (0) ; Width in pixels
minHeight ds.w 1 ; offset: $2 (2) ; Minimum height in pixels - actual height returned here
maxHeight ds.w 1 ; offset: $4 (4) ; Maximum height in pixels
ramPercentage ds.l 1 ; offset: $6 (6) ; Maximum percentage of RAM to take
ramSlop ds.l 1 ; offset: $A (10) ; Amount of RAM to be sure to leave
depth ds.w 1 ; offset: $E (14) ; Depths in bits of each plane
vpMapping ds gxMapping ; offset: $10 (16) ; Mapping to assign to offscreen viewPorts
vdMapping ds gxMapping ; offset: $34 (52) ; Mapping to assign to offscreen viewDevices
planes ds.w 1 ; offset: $58 (88) ; Number of planes to allocate of depth bits each (can be more than 4)
planeSetup ds.b 4 * gxPlaneSetupRec.sizeof ; offset: $5A (90) ; Parameters for each plane, 4 is provided because it is most handy for writers of devices
sizeof EQU * ; size: $16A (362)
ENDR
; The format of one plane in the offscreen planar area
gxOffscreenPlaneRec RECORD 0
theViewPort ds.l 1 ; offset: $0 (0) ; viewPort for the offscreen
theDevice ds.l 1 ; offset: $4 (4) ; viewDevice for the offscreen
theViewGroup ds.l 1 ; offset: $8 (8) ; The viewGroup that they share